package cn.hs.mapper;

import cn.hs.entity.Course;
import cn.hs.entity.CourseMark;
import cn.hs.pojo.CourseMarkSelect;
import cn.hs.pojo.CourseSelect;

import java.util.List;

/**
* @author yun
* @description 针对表【coursemark】的数据库操作Mapper
* @createDate 2024-10-22 20:35:01
* @Entity cn.hs.entity.CourseMark
*/
public interface CourseMarkMapper {

    int add(CourseMark mark);

    int delete(Integer id);
    int deleteByCourseId(Integer id);

    int update(CourseMark mark);


    List<CourseMark> selectAll(CourseMarkSelect pojo);
    Integer selectCountByCourseId(Integer id);
    CourseMark selectById(Integer id);
}




